package a05_双指针法;

public class a03_替换数字复习4 {
    public static void main(String[] args) {
        System.out.println((int)'0');
        System.out.println((int)'9');
    }
    public static String replaceNumber(String s){
        StringBuilder sb = new StringBuilder();
        char[] chars = s.toCharArray();
        for (char c : chars) {
            if(c >= 48 && c <= 57){
                sb.append("number");
            }else {
                sb.append(c);
            }
        }
        return sb.toString();

    }
}
